.PHONY: build_web
build_web:
	cd web && npm run build

.PHONY: build_linux
build_linux: build_web
	set GOOS=linux
	set GOARCH=386
	go build -o bin/iptables-admin

# .PHONY: build_darwin
# build_darwin: build_web
# 	set GOOS=darwin
# 	set GOARCH=amd64
# 	go build -o bin/darwin/iptables-admin main.go

# .PHONY: build_windows
# build_windows: build_web
# 	set GOOS=windows
# 	set GOARCH=386
# 	go build -o bin/windows/iptables-admin main.go